package com.yl.project.lvyou.video.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

/**
 * 景区视频对象 scenic_video
 * 
 * @author yl
 * @date 2025-03-12
 */
@Table(name="scenic_video")
public class ScenicVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频ID，主键 */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 关联的景区ID */
    @Excel(name = "关联的景区ID")

    @Column(name = "scenic_id")
    private Long scenicId;
    /** 视频URL地址 */
    @Excel(name = "视频URL地址")

    @Column(name = "video_url")
    private String videoUrl;
    /** 视频标题 */
    @Excel(name = "视频标题")

    @Column(name = "video_title")
    private String videoTitle;
    /** 视频封面图URL */
    @Excel(name = "视频封面图URL")

    @Column(name = "video_cover")
    private String videoCover;
    /** 视频时长(秒) */
    @Excel(name = "视频时长(秒)")

    @Column(name = "video_duration")
    private Long videoDuration;
    /** 排序顺序 */
    @Excel(name = "排序顺序")

    @Column(name = "sort_order")
    private Long sortOrder;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScenicId(Long scenicId) 
    {
        this.scenicId = scenicId;
    }

    public Long getScenicId() 
    {
        return scenicId;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoTitle(String videoTitle) 
    {
        this.videoTitle = videoTitle;
    }

    public String getVideoTitle() 
    {
        return videoTitle;
    }
    public void setVideoCover(String videoCover) 
    {
        this.videoCover = videoCover;
    }

    public String getVideoCover() 
    {
        return videoCover;
    }
    public void setVideoDuration(Long videoDuration) 
    {
        this.videoDuration = videoDuration;
    }

    public Long getVideoDuration() 
    {
        return videoDuration;
    }
    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scenicId", getScenicId())
            .append("videoUrl", getVideoUrl())
            .append("videoTitle", getVideoTitle())
            .append("videoCover", getVideoCover())
            .append("videoDuration", getVideoDuration())
            .append("sortOrder", getSortOrder())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
